<?php if($_thread['offerNum']!=0){
    if($_thread['offerStatus']==0){ ?>
<i class="icon-magic" style="color:gold;" aria-hidden="true" title="有悬赏!"></i>
<?php } else{ ?>
<i class="icon-magic" style="color:lawngreen;" aria-hidden="true" title="悬赏完毕!"></i>
<?php }} ?>